package com.learnyou.server.xingzuo.biz;

import com.learnyou.server.xingzuo.dto.paramDTO.pet.DeviceBaseInfoDTO;
import com.learnyou.server.xingzuo.dto.paramDTO.pet.DevicePingParamDTO;

import java.util.List;

public interface IDeviceBiz {
    void ping(DevicePingParamDTO devicePingParamDTO);

    void registerAccount(String deviceNo, String phone);

    void unbindAccount(String deviceNo, String phone);

    List<String> getDevicesByAccount(String phone);

    DeviceBaseInfoDTO getBaseInfo(String deviceNo);

    void updateBaseInfo(DeviceBaseInfoDTO deviceBaseInfoDTO, Integer id);
}
